{include /common/header}
<div class="title">模型管理</div>
<form action="{:\mylib\Route::buildUrl('/admin/model/edit')}" method="POST">
    <fieldset>
        <legend>模型编辑</legend>

        <div class="form-group">
        <label>名称</label>
        <input type="text" class="form-control" name="title" value="{$model.title}" placeholder="名称" required>
	    </div>

        <input type="hidden" name="id" value="{$model.id}">
        <button type="submit" class="btn btn-primary">提交</button>
    </fieldset>
</form>
{include /common/footer}